projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af6f5c1
)
Cast to fix compilation warning
author
Javier Jardón
<jjardon@gnome.org>
Wed, 21 Oct 2009 21:53:01 +0000
(23:53 +0200)
committer
Javier Jardón
<jjardon@gnome.org>
Wed, 21 Oct 2009 22:03:44 +0000
(
00:03
+0200)
gdk-pixbuf/io-bmp.c
patch
|
blob
|
history
diff --git
a/gdk-pixbuf/io-bmp.c
b/gdk-pixbuf/io-bmp.c
index 21300e45d85d03e18c53b555f5c45b20e340c509..e654d1f7d52eadb12590689cb2afe53ae19c4206 100644
(file)
--- a/
gdk-pixbuf/io-bmp.c
+++ b/
gdk-pixbuf/io-bmp.c
@@
-1318,7
+1318,7
@@
gdk_pixbuf__bmp_image_save_to_callback (GdkPixbufSaveFunc save_func,
put32 (dst, 0); /* biClrUsed */
put32 (dst, 0); /* biClrImportant */
- if (!save_func (BFH_BIH, 14 + 40, error, user_data))
+ if (!save_func (
(gchar *)
BFH_BIH, 14 + 40, error, user_data))
return FALSE;
dst_line = buf = g_try_malloc (size);
@@
-1341,7
+1341,7
@@
gdk_pixbuf__bmp_image_save_to_callback (GdkPixbufSaveFunc save_func,
dst[2] = src[0];
}
}
- ret = save_func (buf, size, error, user_data);
+ ret = save_func (
(gchar *)
buf, size, error, user_data);
g_free (buf);
return ret;